home *** CD-ROM | disk | FTP | other *** search
/ Revista CD Expert 32 / CD Expert nº 32.iso / NBA 2000 / NBA2000.exe / CABFILE / IDR_CABFILE / Data / UIScript / SingGame / NAVBAR.UI < prev    next >
Text File  |  1999-04-12  |  5KB  |  220 lines

  1. "2D\UI\NavBar"
  2.  
  3. //********************************
  4. //  Data Container
  5. //********************************
  6. DataContainer {
  7.     Int "SingleNavBarCurrentScreen" {
  8.         RadioGroup "SingleNavBar";
  9.         InitialValue 1;
  10.     };
  11.     Int "SingleNavBarTeamSelectButton"
  12.     {
  13.         CheckButton "SingleNavBarTeamSelect";
  14.     };
  15.     Int "SetTeamTempVariable"
  16.     {
  17.         InitialValue 0;
  18.     };
  19. };
  20.  
  21.  
  22.  
  23. //********************************
  24. //  Images
  25. //********************************
  26. Image "SingleGameFirstEnabled" {
  27.     Filename "firste";
  28. };
  29.  
  30. Image "SingleGameFirstPushed" {
  31.     Filename "firstp";
  32. };
  33.  
  34. Image "SingleGameFirstFocused" {
  35.     Filename "firstf";
  36. };
  37.  
  38. Image "SingleGameMidEnabled" {
  39.     Filename "middlee";
  40.     Position [0,-30];
  41. };
  42. Image "SingleGameMidFocused" {
  43.     Filename "middlef";
  44.     Position [0,-20];
  45. };
  46. Image "SingleGameMidPushed" {
  47.     Filename "middlep";
  48. };
  49. Image "SingleGameMidArmed" {
  50.     Filename "middleA";
  51. };
  52. Image "SingleGameMidPushedandArmed" {
  53.     Filename "middlepa";
  54. };
  55. Image "SingleGameEndEnabled" {
  56.     Filename "ende";
  57.     Position [0,-30];
  58. };
  59. Image "SingleGameEndFocused" {
  60.     Filename "endf";
  61.     Position [0,-20];
  62. };
  63. Image "SingleGameEndPushed" {
  64.     Filename "endp";
  65. };
  66. Image "SingleGameEndArmed" {
  67.     Filename "enda";
  68. };
  69. Image "SingleGameEndPushedandArmed" {
  70.     Filename "endpa";
  71. };
  72. //********************************
  73. // Fonts
  74. //********************************
  75. Font "SingleGameFontEnabled" {
  76.     Filename "fonte";
  77.     Translate " ABCDEFGHIJKLMNOPQRSTUVWXYZ";
  78.     Kerning 0;
  79. };
  80. Font "SingleGameFontFocused" {
  81.     Filename "fontf";
  82.     Translate " ABCDEFGHIJKLMNOPQRSTUVWXYZ";
  83.     Kerning 0;
  84. };
  85. Font "SingleGameFontPushed" {
  86.     Filename "fontp";
  87.     Translate " ABCDEFGHIJKLMNOPQRSTUVWXYZ";
  88.     Kerning 1;
  89. };
  90. Font "SingleGameFontArmed" {
  91.     Filename "fontf";
  92.     Translate " ABCDEFGHIJKLMNOPQRSTUVWXYZ";
  93.     Kerning 0;
  94. };
  95. Font "SingleGameFontPushedandArmed" {
  96.     Filename "fontpa";
  97.     Translate " ABCDEFGHIJKLMNOPQRSTUVWXYZ";
  98.     Kerning 0;
  99. };
  100.  
  101. //********************************
  102. //  Styles
  103. //********************************
  104. ButtonStyle "SingleNavBarFirst" {
  105.     Enabled Image "SingleGameFirstEnabled";
  106.     Focused Image "SingleGameFirstFocused";
  107.     Pushed Image "SingleGameFirstPushed";
  108.     Enabled Font "SingleGameFontEnabled";
  109.     Focused Font "SingleGameFontFocused";
  110.     Pushed Font "SingleGameFontPushed";
  111. };
  112.  
  113. ButtonStyle "SingleNavBarMiddle" {
  114.     Enabled Image "SingleGameMidEnabled";
  115.     Focused Image "SingleGameMidFocused";
  116.     Pushed Image "SingleGameMidPushed";
  117.     Armed Image "SingleGameMidArmed";
  118.     PushedAndArmed Image "SingleGameMidPushedandArmed";
  119.     Enabled Font "SingleGameFontEnabled";
  120.     Focused Font "SingleGameFontFocused";
  121.     Pushed Font "SingleGameFontPushed";
  122.     Armed Font "SingleGameFontArmed";
  123.     PushedandArmed Font "SingleGameFontPushedandArmed";
  124. };
  125.  
  126. ButtonStyle "SingleNavBarEnd" {
  127.     Enabled Image "SingleGameEndEnabled";
  128.     Focused Image "SingleGameEndFocused";
  129.     Pushed Image "SingleGameEndPushed";
  130.     Armed Image "SingleGameEndArmed";
  131.     PushedAndArmed Image "SingleGameEndPushedandArmed";
  132.     Enabled Font "SingleGameFontEnabled";
  133.     Focused Font "SingleGameFontFocused";
  134.     Pushed Font "SingleGameFontPushed";
  135.     Armed Font "SingleGameFontArmed";
  136.     PushedandArmed Font "SingleGameFontPushedandArmed";
  137. };
  138.  
  139. //********************************
  140. //  Buttons
  141. //********************************
  142. CheckButton "SingleNavBarStartup" {
  143.     ButtonStyle "SingleNavBarFirst";
  144.     Position [0, 538];
  145.  
  146.         String "STARTUP" {
  147.         Justify CenterCenter;
  148.         Position [69, 57];
  149.     };
  150.  
  151.     Clicked Action {
  152.         Goto Group Global "Startup";
  153.     };
  154.     Armed Action {
  155.         SetData "SingleNavBarCurrentScreen" 1;
  156.     };
  157.     Armed Action DatabaseSetTeamID HomeTeam "SetTeamTempVariable";
  158.     Armed Action DatabaseSetTeamID VisitorTeam "SetTeamTempVariable";
  159. };
  160.  
  161. CheckButton "SingleNavBarTeamSelect" {
  162.     ButtonStyle "SingleNavBarMiddle";
  163.     Position [137, 582];
  164.  
  165.     String "TEAMSELECT" {
  166.         Justify CenterCenter;
  167.         Position [70, 12];
  168.     };
  169. };
  170.  
  171. CheckButton "SingleNavBarSportsPages" {
  172.     ButtonStyle "SingleNavBarMiddle";
  173.     Position [274, 582];
  174.  
  175.         String "SPORTSPAGES" {
  176.         Justify CenterCenter;
  177.         Position [70, 12];
  178.     };
  179. };
  180.  
  181. CheckButton "SingleNavBarCoaching" {
  182.     ButtonStyle "SingleNavBarMiddle";
  183.     Position [411, 582];
  184.  
  185.         String "COACHING" {
  186.         Justify CenterCenter;
  187.         Position [70, 12];
  188.     };
  189.  
  190.     DisArmed Action SaveCurrHomeStrategySettings "HomeTeamSelection";
  191.     DisArmed Action SaveCurrAwayStrategySettings "VisitorTeamSelection";
  192. };
  193.  
  194. CheckButton "SingleNavBarUserControl" {
  195.     ButtonStyle "SingleNavBarEnd";
  196.     Position [548, 582];
  197.  
  198.         String "USERCONTROL" {
  199.         Justify CenterCenter;
  200.         Position [58, 12];
  201.     };
  202. };
  203.  
  204.  
  205. //********************************
  206. //  Groups
  207. //********************************
  208. RadioGroup "SingleNavBar" {
  209.     Root;
  210.     Position [0, 0];
  211.     Children {
  212.         CheckButton "SingleNavBarStartup";
  213.         CheckButton "SingleNavBarTeamSelect";
  214.         CheckButton "SingleNavBarSportsPages";
  215.         CheckButton "SingleNavBarCoaching";
  216.         CheckButton "SingleNavBarUserControl";
  217.     };
  218. };
  219.  
  220.